import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

// 全局url前缀
console.log('process.env.NODE_ENV', process.env.NODE_ENV);
window.API = '/api';


// 引入element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI,{size: 'small'});


// 引入axios
import axios from 'axios'
Vue.prototype.$axios = axios 

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
